﻿
@{
    ViewData["Title"] = "AddStorehouse";
    Layout = "~/Views/Shared/Temp.cshtml";
}


<blockquote class="layui-elem-quote">
    <h1 style="color:darkgray;">添加库位</h1>
</blockquote>

<div class="layui-card" style="width:80%;margin:auto;">
    <div class="layui-card-header">
        <table style="border:1px solid darkgray;width:100%;height:50px;margin-top:30px">
            <tr>
                <td style="color:darkgray">新建库位</td>
            </tr>
        </table>
    </div>
    <div class="layui-card-body">
        <form class="layui-form" action="" style="margin-top: 30px;" width="600px" lay-filter ="addForm">
    <div class="layui-row" style="margin-bottom: 20px;">
        <div class="layui-col-xs6">
            <label class="layui-form-label">库位编号</label>
            <div class="layui-input-block">
                        <input type="text" id="storehouseCode" name="storehouseCode" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" style="width:150px" disabled>
            </div>
        </div>
        <div class="layui-col-xs6">
            <label class="layui-form-label">仓库</label>
            <div class="layui-input-block" style="width:150px">
                        <select name="warehouseId" lay-filter="仓库" lay-verify="required" id="wid" placeholder="请选择仓库">
               
                </select>
            </div>
        </div>
    </div>

    <div class="layui-row" style="margin-bottom: 20px;">
        <div class="layui-col-xs6">
            <label class="layui-form-label">库位名称</label>
            <div class="layui-input-block">
                        <input type="text" name="storehouseName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" style="width:150px">
            </div>
        </div>
        <div class="layui-col-xs6">
            <label class="layui-form-label">库位类型</label>
            <div class="layui-input-block" style="width:150px">
                        <select name="storehouseType" lay-filter="type" lay-verify="required">
                    <option value="">请选择</option>
                    <option value="正式库位">正式库位</option>
                    <option value="待入库区">待入库区</option>
                    <option value="待检库区">待检库区</option>
                    <option value="待出库区">待出库区</option>
                </select>
            </div>
        </div>
    </div>


    <div class="layui-row" style="margin-bottom: 20px;">
        <div class="layui-col-xs6">
            <label class="layui-form-label">是否默认</label>
            <div class="layui-input-block">
                        <input type="checkbox" name="isDefaults" value=true lay-verify="isDefaults" >
                        <input type="hidden" name="isDefaults" value=false lay-verify="isDefaults">
               
            </div>
        </div>
        <div class="layui-col-xs6">
            <label class="layui-form-label">是否禁用</label>
            <div class="layui-input-block" style="width:150px">
                        <input type="checkbox" name="isDisable" value=true lay-verify="isDisable" >
                        <input type="hidden" name="isDisable" value=false />
           
            </div>
        </div>
    </div>

            <div style="text-align:center;">
               
                <button class="layui-btn layui-bg-blue" lay-submit lay-filter="demo-login" id="addbtn">提交</button>
                <button class="layui-btn-primary layui-btn" onclick="location.href='/Foundation/GetStorehouseList">取消</button>
            </div>

        </form>
    </div>
    </div>
   






<script src="~/js/foundation/addstorehouse.js"></script>


